Skip to main content

All Questions

0votes
0answers
186views

How to deal with "Leave site? Changes may not be saved." pop-ups in google chrome using Selenium w/ Python

I'm building an automated Python script using Selenium that needs to open a new url to work properly, and whenever I leave a specific url, my program is met with a "Leave site? Changes may not be ...
bodoed's user avatar
0votes
2answers
2kviews

Could not start a new session. Response code 500. Message: session not created

My seleinum webdriver is not launching browser, getting error frequently. Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports ...
litesh gupta's user avatar
0votes
2answers
1kviews

What is the best way to log into Gmail using Selenium Webdriver in Python?

I use selenium with python to login to my Gmail with chrome browser, But there was a problem while logging in look to photo . look to it this is my code : from selenium import webdriver from ...
Obada Qafisheh's user avatar
0votes
1answer
1kviews

How to enable/allow "Insecure content" in chrome site settings using selenium

Images are NOT loading because "Insecure content" in chrome is "Blocked". How to overcome this during automation testing using selenium ? PFA image. NOTE: This not "Not secure&...
arjun's user avatar
0votes
1answer
157views

I want to assert the url with current url, but not assert the complete url just asserted on page url

Current_Url = https://Example.com/page_Name?start_date=2023-03-21&end_date=2023-03-21 unique_url_Total_client_ts = "https://Example.com/page_Name" assert Form_Data....
Hashir Khan's user avatar
0votes
1answer
382views

chromedriver opens a website then immediately crashes using selenium 4 in vs code

from selenium import webdriver PATH= "C:\Program Files (x86)\chromedriver.exe" driver= webdriver.Chrome(PATH) driver.get("https://www.ieltsadvantage.com/writing-task-1/") after ...
ishrat's user avatar
0votes
1answer
431views

Automating input of SQL queries in textbox in a website using python selenium

I'm trying to automate a manual process using Python Selenium, where I have write a block of SQL codes within a textbox in a website on a daily basis. We can input Texts using send_keys(). But I'm ...
Sanjay's user avatar
0votes
2answers
1kviews

The path to the driver executable must be set by the webdriver.chrome.driver system property; However my path is correct

java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property; However my path is correct. if (browser.equalsIgnoreCase("chrome") &...
Bhupendra Singh Rautela's user avatar
0votes
2answers
485views

Can we create an application using Selenium WebDriver?

I wrote a code and automated one website where I fill the input fields automatically and click submit...Now I want that code to make an application. So that I can fill the fields of whatever content ...
Gopi Nath's user avatar
0votes
1answer
3kviews

How to handle dynamic xpath in selenium (python)

I am automating a website, I have few 6 digit numbers (for example - 111111, 222222, 333333) If I am taking 111111 (inside a for loop) and identifying a path : driver.find_element_by_xpath("//a[@...
SharadxDutta's user avatar
0votes
1answer
138views

How to Overwrite a Specific Field with Pre-existing Entry in Selenium with Python

So I am trying to overwrite a date field that I have to insert the current date so the data pull is always current. I currently have found the solution that overwrites the date field with Selenium ...
R. Barrett's user avatar
0votes
0answers
36views

Selenium not retrieving heading tag

I have a function for testing credentials and for some reason it retrieves everything correct (the other elements) expect one tag, and I cant figure out why. HTML : <h6> <font class="...
B.W.'s user avatar
1vote
2answers
1kviews

How to handle data of console developer tool for Chrome for automation

I need to automate where We are sending data which is available on console in real time. Automation test can be to check that data is triggering or data format is correct which is being sent. I can ...
Umesh's user avatar
39votes
6answers
42kviews

how does selenium webdriver upload files to the browser?

I am a javascript/java developer and I have been trying to figure out how the selenium webdriver automation framework uploads files from the file system. It is impossible to set a file input via ...
Unnamed's user avatar
  • 1,800

close